package com.ethink.system.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 代办事项表 数据库实体
 *
 * @author default
 * @date 2022-12-09
 */
@Data
@TableName("t_system_todo")
public class SystemTodo extends SuperEntity {

    public static final String USER_CODE ="user_code";

    public static final String USER_NAME ="user_name";

    public static final String DATA_ID ="data_id";

    public static final String TODO_TYPE ="todo_type";

    public static final String TODO_STATUS ="todo_status";

    public static final String TODO_MESSAGE ="todo_message";

    public static final String FINISH_TIME ="finish_time";


    /** 处理用户CODE */
    private String userCode;

    /** 处理用户名称 */
    private String userName;

    /** 数据单号 */
    private String dataId;

    /** 枚举 类型: 1-待需求确认(t1) |2-待锁单(t2)|3-待预供提报(t3)|4-待转采购单(t4)|5-待物流跟进(t5)|6-待到货异常确认(t6) */
    private Integer todoType;

    /** 枚举 状态: 1-待完成(s1) | 2-已完成(s2) */
    private Integer todoStatus;

    /** 待办内容 */
    private String todoMessage;

    /** 完成时间 */
    private Date finishTime;

}
